package com.sichen.search.service;

import com.sichen.search.vo.SearchParam;
import com.sichen.search.vo.SearchResult;

/**
 * 商城的检索服务
 * <p>Created with IntelliJ IDEA.
 * <p>Author: 思尘
 * <p>Created time: 2022-09-17 16:33
 * <p>Version: V1.0
 */
public interface MallSearchService {
    /**
     * 根据检索的条件查询出对应的商品 , 并封装为指定的对象
     * @param searchParam 检索的条件
     * @return 返回检索出的结果
     */
    SearchResult search(SearchParam searchParam);
}
